/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.garcomeletronico.dao;

import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Rivi
 */
public abstract interface IDAOGenerico<T> {

    public void inserir(T pojo) throws SQLException;

    public void alterar(T pojo) throws SQLException;

    public void excluir(T pojo) throws SQLException;

    public List<T> listarTodos() throws SQLException;

    public List<T> listarPorNome(T pojo) throws SQLException;

    public T listarPorId(T pojo) throws SQLException;
}
